package cn.stylefeng.guns.modular.weixin.builder;

import me.chanjar.weixin.mp.api.*;
import me.chanjar.weixin.mp.bean.message.*;

public class ImageBuilder extends AbstractBuilder
{
    @Override
    public WxMpXmlOutMessage build(final String content, final WxMpXmlMessage wxMessage, final WxMpService service) {
        final WxMpXmlOutImageMessage m = ((me.chanjar.weixin.mp.builder.outxml.ImageBuilder)((me.chanjar.weixin.mp.builder.outxml.ImageBuilder)WxMpXmlOutMessage.IMAGE().mediaId(content).fromUser(wxMessage.getToUser())).toUser(wxMessage.getFromUser())).build();
        return (WxMpXmlOutMessage)m;
    }
}
